#!/bin/sh

rm -rf lighttpd php crosslight/bin *tar.gz
if [ "$1x" != "x" ] ; then
	rm -rf tars
fi
rm -rf crosslight/var/tmp/*
rm -rf crosslight/var/log/*
mkdir crosslight/var/log/default
touch crosslight/var/log/default/{error,access}.log
rm crosslight/etc/lighttpd.conf.local
